using System.Numerics;
using System.Diagnostics;
using UnityEngine;
using UnityEditor;
using Vector2 = UnityEngine.Vector2;
using Debug = UnityEngine.Debug;

namespace MeEditorFramework
{
    public class GUIAPI
    {
        private string mTextFieldValue;
        public void Draw(){
            // 添加Label 
            GUI.Label(new Rect(0,60,200,20),"Label:Hello GUILayout" );  
            GUILayout.BeginVertical("Box");
            {
                GUILayout.BeginHorizontal();
                {
                    GUI.Label(new Rect(0,80,200,20),"TextField");
                    mTextFieldValue = GUI.TextField(new Rect(0,100,200,20),mTextFieldValue);
                }
                GUILayout.EndHorizontal();
                
            }
            GUILayout.EndVertical();
          
        }
    }
}